//
//  DynamicView.m
//  Project two framework
//
//  Created by rimi on 16/7/28.
//  Copyright © 2016年 张峥. All rights reserved.
//

#import "DynamicView.h"

@implementation DynamicView
+ (instancetype)showOtherView
{
    static DynamicView *dynamicView = nil;
        dynamicView = [[DynamicView alloc]init];
    return dynamicView;
}


- (instancetype)init
{
    self = [super init];
    if (self) {
        [self addOtherView];
    }
    return self;
}

- (void )addOtherView{
    [super addOtherView];
    self.shoppingBtn.hidden = YES;
    [self.imageView addSubview:self.content];
}

- (UILabel *)content
{
    if (_content == nil) {
        _content = ({
            UILabel *label = [[UILabel alloc]init];
            label.textAlignment = NSTextAlignmentLeft;
            label.numberOfLines = 0;
            label.font = [UIFont systemFontOfSize:16];
            
            label;
        });
    }
    return _content;
}

@end
